package com.eight.service;

import com.eight.pojo.BaseArea;
import com.eight.pojo.TbShop;
import com.eight.vo.CarVo;
import com.eight.vo.ComResult;

public interface CarShopService {

    ComResult selectCarShop(CarVo carVo);

    ComResult selectCarShop();

    ComResult insertCarShop(TbShop tbShop);

    ComResult deleteCarShop(int id);

    ComResult updateCarShop(TbShop tbShop);

    /**
     * 根据地区查询门店
     * @param tbShop
     * @return
     */
    ComResult selectByAddress(TbShop tbShop);

    /**
     * 根据id查询车辆
     * @param shopId
     * @return
     */
    ComResult selectByCarName(Integer shopId);


}
